﻿<%@ Page Language="C#"  MasterPageFile="~/Profile/ProfileHR.master" AutoEventWireup="true" CodeBehind="MyAccount.aspx.cs" Inherits="HRdex_Final.Profile.MyAccount" %>

<asp:Content ID="account" ContentPlaceHolderID="MainContent" runat="server">
    <div>
     <asp:Label ID="Label2" runat="server" Text="My Account" 
                    Font-Bold="True" Font-Size="Larger" ForeColor="#0066FF"></asp:Label><br />
              
    <table style="background-color: #FFFFFF; ">
        <tr>
            <td><asp:Image ID="profilePic" runat="server" Height="90px" Width="90px" /></td>
            <td><asp:Label ID="lblName" runat="server" Text="Label" Width="358px" Height="28px"></asp:Label></td>
        </tr>
    </table>

    <table style="background-color: #FFFFFF; border-style: double; border-color: #0066FF">
        <tr>
            <td class="style1">
                Username<br />
                <asp:TextBox ID="txtUName" runat="server" Width="300" Enabled="False" 
                    ReadOnly="True"></asp:TextBox> 
            </td>
        </tr>

        <tr>
            <td class="style1">
                Password<br />
                <asp:TextBox ID="txtpw" runat="server" Width="300"></asp:TextBox> 
            </td>
        </tr>
        
        <tr>
            <td class="style1">
                Verify Password<br />
                <asp:TextBox ID="txtpwV" runat="server" Width="300"></asp:TextBox> 
                <asp:CompareValidator ID="CompareValidator1" runat="server" 
                    ControlToCompare="txtpw" ControlToValidate="txtpwV" 
                    ErrorMessage="Password did not match" ForeColor="Red"></asp:CompareValidator>
            </td>
        </tr>

        <tr>
            <td class="style1">
                Name<br />
                <asp:TextBox ID="txtName" runat="server" Width="300" Enabled="False" 
                    ReadOnly="True"></asp:TextBox> 
            </td>
        </tr>

        <tr>
            <td class="style1">
                Upload Picture<br />
                <asp:FileUpload ID="fuUpload" runat="server" />
            </td>
        </tr>

        <tr>
            <td class="style1">
            <br />
                <asp:Label ID="Label1" runat="server" Text="Contact Information" 
                    Font-Bold="True" Font-Size="Larger" ForeColor="#0066FF"></asp:Label><br />
                <hr style="width:300"/>
            </td>
        </tr>

        <tr>
            <td class="style1">
                Email Address<br />
                <asp:TextBox ID="txtemail" runat="server" Width="300"></asp:TextBox> 
            </td>
        </tr>


        <tr>
            <td class="style1">
                Mobile Number<br />
                <asp:TextBox ID="txtnum" runat="server" Width="300"></asp:TextBox> 
            </td>
        </tr>

        <tr>
            <td class="style1">
                <asp:Button ID="btnSave" runat="server" Text="Save" onclick="btnSave_Click" />
            </td>
        </tr>
    </table>
     <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
         ConnectionString="<%$ ConnectionStrings:HRmainConnectionString %>" 
         SelectCommand="SELECT * FROM [formEmployees]"></asp:SqlDataSource>
     </div>
</asp:Content>